<?php

echo $form -> create('Email', array('action' => 'envoyer'));
echo $form -> input('Message.corp',array("label" => "Répondre","style" => "width:800px"));
echo $form -> hidden('Message.utilisateur_id', array('value' => $online["id"]));
echo $form -> hidden('Message.email_id',array('value' => $email_id));
echo $form -> hidden("uniqid",array('value' => $uniqid));
echo $form -> hidden("Message.date",array('value' => $date));
echo $form -> end('repondre');


echo '<br/>';

for ($i = 0; $i <= sizeof($message) - 1; $i++) {
    
    echo "\n".'<a name="'.$message[$i]["id"].'"></a>'."\n";
    echo $message[$i]["pseudo"].
        '<div style="background-color:white;">'.
    $message[$i]["corps"].
    '</div>
        <div style="text-align:center;"><span style="color:#b9b0b0;">'.$message[$i]["date"].'</span></div>'."\n";
       
}

?>
<br/>
<div style="text-align:center">
<?php
echo $this -> Paginator -> prev('« Précédent ', null, null, array('class' => 'disabled'));
echo $this -> Paginator -> numbers();
echo $this -> Paginator -> next(' Suivant »', null, null, array('class' => 'disabled'));


?> 
</div>